import request from '@/utils/request'
import qs from 'qs';

// 获取拉取数量
export function getTextData(params) {
  return request({
    url: '/check/index/getTextData',
    method: 'get',
    params
  })
}


export function setTextDate(data) {
    return request({
      url: '/check/index/setTextData',
      method: 'post',
      headers: {
        'Content-Type':'application/x-www-form-urlencoded'
      },
      data:qs.stringify(data),
    })
  }

//   消息提醒
export function getMsgTip(params) {
    return request({
      url: '/check/index/timer',
      method: 'get',
      params
    })
  }
